Skip to main content

[Symbol.asyncDispose]

method Server.prototype.[Symbol.asyncDispose]
Jump to headingServer.prototype.[Symbol.asyncDispose](): Promise<void>

Calls Server.close() and returns a promise that fulfills when the server has closed.

Return Type Jump to heading

Promise<void>
Back to top